package com.gccloud.design.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.gccloud.design.common.OptButtonCommon;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import lombok.experimental.Accessors;

/**
 * 实现功能【操作按钮实体类】
 *
 * @author hu.hongdou
 * @date 2022/2/21
 */
@EqualsAndHashCode(callSuper = true)
@Data
@ApiModel("按钮实体")
@Accessors(chain = true)
@ToString(callSuper = true)
@TableName("opt_button")
public class OptButtonEntity extends OptButtonCommon {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("流程业务类型ID")
    private int businessTypeId;

    @ApiModelProperty("按钮编码")
    private String buttonCode;

    @ApiModelProperty("按钮名称")
    private String buttonName;

    @ApiModelProperty("点击事件")
    private String clickEvent;

    @ApiModelProperty("对应页面")
    private String optPage;

    @ApiModelProperty("是否操作流程")
    private int isOptFlow;

    @ApiModelProperty("分支模式")
    private String btanchMode;

    @ApiModelProperty("分支总数")
    private int totalBranch;

    @ApiModelProperty("分支样式")
    private String branchStyle;

    @ApiModelProperty("附加条件")
    private String conditionAdded;

    @ApiModelProperty("创建人")
    private String createUser;

    @ApiModelProperty("创建时间")
    private String createTime;

    @ApiModelProperty("修改人")
    private String modifyUser;

    @ApiModelProperty("修改时间")
    private String modifyTime;

}
